import{j as i,u as l}from"./vendor-BTunnNwh.js";const _="_tab_1yvdi_1",v="_active_1yvdi_16",x="_text_1yvdi_47",r="_disabled_1yvdi_52",e={tab:_,active:v,text:x,disabled:r},b=({icon:a,text:c,index:s,onClick:n,activeTab:o,disabled:t})=>i.jsxs("button",{className:`${e.tab} ${t&&e.disabled} ${o===s?e.active:""}`,value:s,onClick:t?()=>{}:n,type:"button",children:[a,i.jsx("p",{className:e.text,children:c})]}),u="_div_1q8ki_1",m={div:u},j=({tabslist:a,activeTab:c,setActiveTab:s,disabledTabs:n=[]})=>{const{t:o}=l("tabs");return i.jsx("div",{className:m.div,children:a.map((t,d)=>i.jsx(b,{index:d,icon:t.icon,text:o(t.text),disabled:n.includes(t.text),activeTab:c,onClick:()=>s(d)},t.text))})};export{j as T};
//# sourceMappingURL=index-BAOdjMN4.js.map
